home *** CD-ROM | disk | FTP | other *** search
/ Linear Technology Linearview 1996 / linearview 1996.iso / spice / probedev.bat < prev    next >
Encoding:
DOS Batch File  |  1996-07-09  |  2.2 KB  |  77 lines

  1. echo off
  2. cls
  3. rem ------------------------------------------------------------------
  4. rem
  5. rem                          PROBEDEV.BAT
  6. rem                version for macromodel release 2.01
  7. rem                   Walt Jung 06/28/90, 12/03/90
  8. rem
  9. rem This batch file will create a custom version of "PROBE.DEV", via
  10. rem on diskette driver files and user keyboard input.  To use, follow
  11. rem the screen prompts.  Also, see driver information in SPICE\README2.
  12. rem
  13. rem ------------------------------------------------------------------
  14. if exist spice\probe.dev goto type
  15. :: beep if no probe.dev
  16. echo  
  17. cls
  18. echo  
  19. echo  
  20. echo PROBE.DEV driver not found!
  21. echo Make or copy as shown in NEXT SCREENS.
  22. echo  
  23. pause
  24. goto makdrv
  25. :type
  26. cls
  27. echo  
  28. echo Now typing PROBE.DEV, note contents...
  29. echo  
  30. type spice\probe.dev
  31. echo  
  32. echo  
  33. echo If this matches your hardware, you are now ready to run DEMOLTC.
  34. echo  (if the above is ok just type ^C then "Y", to go back to DOS.)
  35. echo  
  36. echo Otherwise, make up a driver as shown at the NEXT SCREEN.
  37. echo  
  38. echo  
  39. pause
  40. :makdrv
  41. cls
  42. echo  
  43. echo Creating custom PROBE.DEV driver, please note directions...
  44. echo  
  45. copy spice\drivers\DISPLAY probe.1 >nul:
  46. echo Now, enter in the type of display you have:
  47. echo (ie., "IBMEGA", "HERCULES", etc., type only info BETWEEN quotes).
  48. echo  
  49. echo End the DISPLAY input by typing "^Z", "Enter"
  50. echo (type a control Z, then type Enter).
  51. echo  
  52. copy con: probe.2 >nul:
  53. copy probe.1 + probe.2 probe.3 >nul:
  54. echo  
  55. copy probe.3 + spice\drivers\hardcopy probe.4 >nul:
  56. echo Now, enter in the type of hardcopy port/device display you have:
  57. echo (ie., "LPT1:,HPLJ"; "PRN:,HERCULES", etc., type only the info BETWEEN quotes).
  58. echo  
  59. echo End the HARDCOPY input by typing "^Z", "Enter"
  60. echo (type a control Z, then type Enter).
  61. echo  
  62. copy con: probe.5 >nul:
  63. copy probe.4 + probe.5 spice\probe.dev >nul:
  64. echo  
  65. del probe.? >nul:
  66. cls
  67. type spice\probe.dev
  68. echo  
  69. echo  
  70. echo Custom PROBE.DEV driver is all done!
  71. echo  
  72. echo Note that some PROBE.DEV examples are contained in SPICE\DRIVERS\ ..
  73. echo you may alternately copy one of these for a custom driver.  See
  74. echo SPICE\README2, for further driver information.
  75. echo  
  76. :end
  77.